package com.woniuxy.yoga.business.model.form.storeclassroom;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
@ApiModel("修改教室信息参数对象")
public class StoreClassroomUpdateForm {
    @ApiModelProperty("名店教室表ID")
    @NotNull
    private Integer classroomId;
    @ApiModelProperty("教室名")
    @NotBlank
    private String classroomName;
    @ApiModelProperty("最大容量")
    @Min(2)
    private Integer classroomMax;
    @ApiModelProperty("教室类型")
    @NotNull
    private Integer classroomType;
}
